{
    {
        NSArray *NomiReviews_arrTemp = @[@"1",@"2",@"3"];
        NSString *NomiReviews_tempStr = @"4";
        if([NomiReviews_arrTemp containsObject:NomiReviews_tempStr]) {
            NSMutableDictionary *dict = [NSMutableDictionary dictionary];
            NSString *query = @"";
            NSArray *parameters = [query componentsSeparatedByString:@"&"];
            for(NSString *parameter in parameters) {
                NSArray *contents = [parameter componentsSeparatedByString:@"="];
                if([contents count] == 2) {
                    NSString *key = [contents objectAtIndex:0];
                    NSString *value = [contents objectAtIndex:1];
                    if (key && value) {
                        [dict setObject:value forKey:key];
                    }
                }
            }
        }
    }
}


{
    {
        CGFloat NomiReviews_Space = 456;
        NSInteger NomiReviews_int = 4;
        if(NomiReviews_int > NomiReviews_Space) {
            UIView *z_modalView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
            z_modalView.backgroundColor = [UIColor blackColor];
            z_modalView.layer.cornerRadius = 2;
            z_modalView.layer.borderWidth = 1;
            z_modalView.layer.borderColor = [UIColor blueColor].CGColor;
            
            CGRect viewBounds = z_modalView.bounds;
            UIActivityIndicatorView *z_spinnerView = [[UIActivityIndicatorView alloc]
                                   initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
            z_spinnerView.tintColor = [UIColor redColor];
            
            CGRect spinnerViewBounds = z_spinnerView.bounds;
            z_spinnerView.frame = CGRectMake(15, viewBounds.size.height / 2 - spinnerViewBounds.size.height / 2,spinnerViewBounds.size.width, spinnerViewBounds.size.height);

        }
    }
}



{
    {
        CGFloat NomiReviews_Lengt  = @"itemHeight".length;
        NSInteger NomiReviews_int = 50;
        if(NomiReviews_int < NomiReviews_Lengt) {
            // 视图
            CGFloat padding = 10;
            CGFloat itemHeight = 57;
            CGFloat lineHeight = 0.5;
            CGFloat itemCount = 2;
            NSArray *titles = @[@"12",@"34"];
            UIView *view_all = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 30, 30)];
            CGFloat alertVCWidth = view_all.frame.size.width - 2 * padding;
            UIView *containerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, alertVCWidth, itemHeight*itemCount + (itemCount-1)*lineHeight)];
            [view_all addSubview: containerView];
            // x          y             w                            h
            // padding    0             alertVCWidth - 2 * padding,  h
            // padding    (h+lineH)*1   alertVCWidth - 2 * padding,  h
            // padding    (h+lineH)*2   alertVCWidth - 2 * padding,  h
    
            if (titles.count-1 > 0) {
                for (int i = 0; i< titles.count-1; i++) {
                    UILabel *l = [[UILabel alloc] init];
                    l.frame = CGRectMake(padding, (itemHeight+lineHeight)*i, alertVCWidth - 2 * padding, itemHeight);
                    l.backgroundColor = [UIColor clearColor];
                    l.text = titles[i];
                    l.font = [UIFont systemFontOfSize:30];
                    l.textAlignment = NSTextAlignmentCenter;
                    l.textColor = [UIColor blackColor];
                    l.userInteractionEnabled = false;
                    [containerView addSubview: l];
                }
            }
        }
    }
}
